#include "graphic_public.h"
#import "SoundPlayerWrapper.h"

#ifndef _music_play_h_
#define _music_play_h_

const NSString * const kSoundKeyPress = @"key_press.wav";
const NSString * const kSoundExplode = @"explode.caf";
const NSString * const kSoundBroken = @"broken.caf";
const NSString * const kSoundMainMenu = @"main_menu.caf";

extern scoped_object_c_ptr<SoundPlayerWrapper> g_soundPlayer;
void loadMenuMusic();
void loadGameMusic();
void playMusic(const NSString *filename, bool loop = false);
inline void playKeyPress() { playMusic(kSoundKeyPress); }
inline void playExplode() { playMusic(kSoundExplode); }
inline void playBroken() { playMusic(kSoundBroken); }
void playStop();


#endif
